package com.guoyansoft.controller;

import com.guoyansoft.config.R;
import com.guoyansoft.model.service.ProductTeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author ：高凡
 * @date ：Created in 2023-04-27-15:39
 * @description：产品组Controller

 */
@RestController
@RequestMapping("/productTeam")
public class ProductTeamController {
    @Autowired
    private ProductTeamService productTeamService;

    /**
     * 查询所有的产品组
     * @return
     */
    @RequestMapping("queryAll")
    public R queryAll(){
        Map<String,Object> map=new HashMap<>();
        R r = productTeamService.queryByPage(map);
        return r;}

}
